import axios from "../../utils/axios";

// 列表
export function getinfo(query){
    return axios({
        url: "/admin/Fileinformation/getinfo",
        method: "post",
        data: query
    })
}

// 添加
export function setinfo(query) {
    return axios({
        url: "/admin/Fileinformation/setinfo",
        method: "get",
        params: query
    });
}

// 修改
export function modifyinfo(query){
    return axios({
        url: "/admin/Fileinformation/modifyinfo",
        method: "post",
        data: query
    })
}

// 删除
export function delinfo(query){
    return axios({
        url: "/admin/Fileinformation/delinfo",
        method: "get",
        params: query
    })
}
